package search;

import common.db.DBExecute;
import common.main.MainBean;

public class CountUpdateBean extends MainBean
{
	public void funcExecute() throws Exception
	{
		String wordCountYn = (String)inputTable.get("wordCountYn");
		String word = (String)inputTable.get("word");
		
		
		queryBuffer = new StringBuffer("");
		queryBuffer.append("UPDATE SEARCH_WORDS SET COUNT=COUNT+1");
		queryBuffer.append(" WHERE WORD='"+word+"'");
		
		DBExecute dbe = new DBExecute(queryBuffer.toString());
	}

}
